<#-- ..主键在查询的时候也会查询出来. -->
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="${config.packageName}${config.mapperSubPackage}.${table.className}Mapper">

	<resultMap type="${config.packageName}${config.entitySubPackage}.${table.className}"  id="${table.className?uncap_first}ResultMap">
		<#list columnList as column >
		<${("PRI" == column.columnKey)? string('id','result')} column="${column.columnName}" property="${column.columnJavaName}" />
		</#list>
	</resultMap>

    <sql id="BASE_COLUMN_INFO">
    <#list columnList as column >
        t.${column.columnName}<#if column_has_next>,</#if>
    </#list>
    </sql>

<#--<#include "./mapper/insert.ftl">-->
<#--<#include "./mapper/update.ftl">-->
<#--<#include "./mapper/deleteByKey.ftl">-->
<#include "./mapper/batchInsert.ftl">
<#--<#include "./mapper/getEntityByKey.ftl">-->
<#--<#include "./mapper/findByParamObj.ftl">-->

</mapper>